package net.qhzw.vip.qiyu.model;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;


@Data
@ExcelTarget("dtsCarRentals")
public class DtsCarRentalExcel {

    @Excel(name = "租户名称", width = 12)
    private String realName;

    @Excel(name = "手机号", width = 15)
    private String mobile;

    @Excel(name = "身份证号码", width = 20)
    private String idCard;

    @Excel(name = "合同编号", width = 18)
    private String contractNo;

    @Excel(name = "车辆编号", width = 15)
    private String vehicleNumber;

    @Excel(name = "租聘物", replace = {"整车_1", "电池_2"})
    private Byte lease;

    @Excel(name = "租车站点", width = 15)
    private String communityName;

    @Excel(name = "站点师傅", width = 12)
    private String adminName;

    @Excel(name = "担保公司", width = 15)
    private String guaranteeCompanyName;

    @Excel(name = "提交日期", width = 25, exportFormat = "yyyy年MM月dd日 HH:mm:ss")
    private Date subDate;

    @Excel(name = "商铺名称")
    private String shopName;

    @Excel(name = "租车押金")
    private BigDecimal deposit;

    @Excel(name = "租车金额")
    private BigDecimal advanceRcptRent;

    /**
     * 租车状态 0:申请租车 1:进行中 2:合同期内 3:结束租车 4:合同结束
     */
    @Excel(name = "租车状态", replace = {"租户提交租车申请_1", "租车申请,后台管理员待审核_2", "审核成功,可出车_3", "合同结束_4"}, width = 20)
    private Byte status;


//    @Excel(name = "租金")
//    private BigDecimal rent;


}
